package queue;

public class Test {
    public static void main(String[] args) {

    }
    public static void main1(String[] args) {
        MyQueueUsedLinkedList queue = new MyQueueUsedLinkedList();
        System.out.println(queue.size());
        queue.offer(1);
        System.out.println(queue.size());
        System.out.println(queue.isEmpty());
        queue.offer(2);
        queue.offer(3);
        queue.offer(4);
        System.out.println(queue.peek());
        System.out.println(queue.poll());
        System.out.println(queue.peek());
        System.out.println(queue.size());
    }
}
